package org.opens.excel.entity;

import cn.afterturn.easypoi.excel.annotation.ExcelTarget;
import cn.afterturn.easypoi.handler.inter.IExcelDataModel;
import cn.afterturn.easypoi.handler.inter.IExcelModel;
import lombok.Data;

import java.io.Serializable;

/**
 * @ExcelTarget注解属性说明:
 * - height: 定义行高
 * - value: 定义id
 * - fontSize: 设置字体大小
 */
@Data
@ExcelTarget("studentImportDTO")
public class StudentImportDTO extends StudentEntity implements Serializable, IExcelModel, IExcelDataModel {

    private String errorMsg;

    private Integer rowNum;

    @Override
    public String getErrorMsg() {
        return errorMsg;
    }

    @Override
    public void setErrorMsg(String errorMsg) {
        this.errorMsg = errorMsg;
    }

    @Override
    public int getRowNum() {
        return this.rowNum;
    }

    @Override
    public void setRowNum(int rowNum) {
        this.rowNum = rowNum;
    }
}
